package com.wwtech.epp.ui.activity.work.contract;

import android.content.Intent;

import com.wwtech.epp.entity.AttachmentBean;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

import java.util.Map;

/**
 * @author hzp
 * @Package The contract for DynamicAppActivity
 * @Description: $description
 * @date 2017/09/18 21:54:46
 */
public interface DynamicAppContract {
    interface View extends BaseView<DynamicAppContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void onSetData(String key);

        void loadFileSuccess(AttachmentBean attachmentBean);
    }

    interface DynamicAppContractPresenter extends BasePresenter {
        void getUIDesc(String dataId, Map map);
        void onActivityResult(int requestCode, int resultCode, Intent data);

        void upLoadData(Map map);
    }
}